package com.train.mgr.modules.biz.dto.request;

import com.train.common.model.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class CourseUserQueryDTO extends PageParam {

    @ApiModelProperty(name = "q", value = "关键字查询")
    private String q;

    @ApiModelProperty(name = "courseId", value = "课程ID",required = true)
    @NotNull(message = "课程ID必填")
    private Long courseId;

    @ApiModelProperty(name = "groupId", value = "分组ID")
    private Long groupId;
}
